//
//  ViewController.m
//  BCLockDemo
//
//  Created by Shine on 2020/11/24.
//  Copyright © 2020 YW. All rights reserved.
//

#import "ViewController.h"
#import "BCBaseLock.h"
#import "OSSpinLockDemo.h"
#import "OSSpinLockDemo2.h"
#import "OSUnfairLockDemo.h"
#import "MutexDemo.h"


@interface ViewController ()
@property (strong, nonatomic) BCBaseLock *demo;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
     BCBaseLock *demo = [[OSSpinLockDemo alloc] init];
    //    [demo ticketTest];
        [demo moneyTest];
    //    [demo otherTest];
        
}


@end
